  place <%for(var i = 0; i < states.length; i += 1) {%> <%-states[i]%><%if (i < states.length-1) {%>,<% } %> <% } %>
